<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
	
	<%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
<%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean"%>

<div id="content">
<div id="main-wrapper">

<h2 id="first"><bean:message key="sharelist.label.share" /></h2>

<p><bean:message key="sharelist.label.location" /> <a
	href='view_list.php' title='Give this adress to your friends'>http://www.wishlistr.com/</a>.
<bean:message key="sharelist.label.info" /></p>

<p><bean:message key="sharelist.label.infosub" /> <abbr
	title="Real Simple Syndication">RSS</abbr><bean:message
	key="sharelist.label.infolink" /> <a href="#"
	title="Give this adress to your friends and let them subscribe to your list via RSS">wishlistr.com/rss/pippo</a><bean:message
	key="sharelist.label.infoadd" /> (<a
	href="http://www.wishlistr.com/help/rss/" title="Read more about RSS">What
is RSS?</a>)</p>


<div class="hr">
<hr>
</div>



<html:form method="post" action="/gift/send_mail">

	<fieldset><legend><bean:message	key="sharelist.label.step1" /></legend>
	<h3><c:out value="<%= (request.getAttribute("message"))== null ? "" : request.getAttribute("message") %>"></c:out></h3>
	<table class="formtable">
		<tbody>
			<tr class="last">
				<th><label for="email"><bean:message
					key="sharelist.label.email" /></label></th>
				<td>
				<html:text styleClass="textfield" property="dest" />
				</td>
				<td class="info"><bean:message key="sharelist.label.additemail" /></td>
			</tr>

		</tbody>
	</table>
	</fieldset>

	<fieldset class="last"><legend><bean:message key="sharelist.label.step2" /></legend>
	<table class="formtable">
		<tbody>
			<tr class="last">
				<th><label for="your-message"><bean:message	key="sharelist.label.message" /></label></th>
				<td><html:textarea styleClass="textfield" property="obj" value="" />
<bean:message key="sharelist.label.text" />
</td>
				<td class="info"><bean:message
					key="sharelist.label.costumizemess" /></td>
			</tr>
		</tbody>
	</table>
	</fieldset>

	<table class="formtablesubmit">
		<tbody>
			<tr>
				
				<td> <html:submit styleClass="img-btn" value="Submit" /></td>
				<td class="info"><bean:message key="sharelist.label.click" /></td>
			</tr>
		</tbody>
	</table>


</html:form></div>
<!-- Closes #content --></div>
<!-- Closes #wrapper -->
